﻿// Decompiled with JetBrains decompiler
// Type: TaleWorlds.MountAndBlade.View.Screens.GameLoadingScreen
// Assembly: TaleWorlds.MountAndBlade.View, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 61152EB8-513B-4D4A-8AC0-0D1465C6CF6C
// Assembly location: D:\steam\steamapps\common\Mount & Blade II Bannerlord\Modules\Native\bin\Win64_Shipping_Client\TaleWorlds.MountAndBlade.View.dll

using TaleWorlds.Core;
using TaleWorlds.Engine;
using TaleWorlds.ScreenSystem;

#nullable disable
namespace TaleWorlds.MountAndBlade.View.Screens
{
  [GameStateScreen(typeof (GameLoadingState))]
  public class GameLoadingScreen : ScreenBase, IGameStateListener
  {
    public GameLoadingScreen(GameLoadingState gameLoadingState)
    {
    }

    protected override void OnActivate()
    {
      base.OnActivate();
      LoadingWindow.EnableGlobalLoadingWindow();
      Utilities.SetScreenTextRenderingState(false);
    }

    protected override void OnFrameTick(float dt)
    {
      base.OnFrameTick(dt);
      Utilities.SetScreenTextRenderingState(true);
    }

    void IGameStateListener.OnActivate()
    {
    }

    void IGameStateListener.OnDeactivate()
    {
    }

    void IGameStateListener.OnInitialize()
    {
    }

    void IGameStateListener.OnFinalize()
    {
    }
  }
}
